package org.darkforest.vo;

import java.math.BigDecimal;

/**
 * Created by valentina on 15/3/11.
 * 注册登录时ajax返回消息体
 */
public class MemberBase {

    private Integer userId;
    private String userName;
    private String trueName;            //微信显示使用的会员名
    private String key;
    private String email;
    private String avatar;
    private String quicklink;           //常用菜单
    private Integer proxy_id;           //代理商编号    其他查询时使用，session中不缓存
    private Integer team_proxy_id;      //代理商团队编号
    private Integer memberCnt;          //直属用户总数
    private BigDecimal proxyGoodsAmt;   //代理商品消费总数
    private BigDecimal goodsAmt;        //流通商品消费总数
    private Short adminGid;
    private Boolean adminIsSuper;
    private String wxOpenId;
    private Integer healthDeptId;  // 体检负责人部门ID

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public MemberBase() {
    }

    public MemberBase(Integer userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    public MemberBase(String userName, String key) {
        this.userName = userName;
        this.key = key;
    }

    public MemberBase(Integer userId, String userName, String avatar) {
        this.userId = userId;
        this.userName = userName;
        this.avatar = avatar;
    }

    public Boolean getAdminIsSuper() {
        return adminIsSuper;
    }
    public void setAdminIsSuper(Boolean adminIsSuper) {
        this.adminIsSuper = adminIsSuper;
    }

    public Short getAdminGid() {
        return adminGid;
    }
    public void setAdminGid(Short adminGid) {
        this.adminGid = adminGid;
    }

    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }

    public String getAvatar() {
        return avatar;
    }
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTrueName() {
        return trueName;
    }
    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public Integer getMemberCnt() {
        return memberCnt;
    }
    public void setMemberCnt(Integer memberCnt) {
        this.memberCnt = memberCnt;
    }

    public BigDecimal getProxyGoodsAmt() {
        return proxyGoodsAmt;
    }
    public void setProxyGoodsAmt(BigDecimal proxyGoodsAmt) {
        this.proxyGoodsAmt = proxyGoodsAmt;
    }

    public BigDecimal getGoodsAmt() {
        return goodsAmt;
    }
    public void setGoodsAmt(BigDecimal goodsAmt) {
        this.goodsAmt = goodsAmt;
    }

    public Integer getProxy_id() {
        return proxy_id;
    }
    public void setProxy_id(Integer proxy_id) {
        this.proxy_id = proxy_id;
    }

    public Integer getTeam_proxy_id() {
        return team_proxy_id;
    }
    public void setTeam_proxy_id(Integer team_proxy_id) {
        this.team_proxy_id = team_proxy_id;
    }

    public String getQuicklink() {
        return quicklink;
    }
    public void setQuicklink(String quicklink) {
        this.quicklink = quicklink;
    }

    public Integer getHealthDeptId() {
        return healthDeptId;
    }
    public void setHealthDeptId(Integer healthDeptId) {
        this.healthDeptId = healthDeptId;
    }

    @Override
    public String toString() {
        return "MemberBase{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", trueName='" + trueName + '\'' +
                ", key='" + key + '\'' +
                ", email='" + email + '\'' +
                ", avatar='" + avatar + '\'' +
                ", quicklink='" + quicklink + '\'' +
                ", proxy_id=" + proxy_id +
                ", team_proxy_id=" + team_proxy_id +
                ", memberCnt=" + memberCnt +
                ", proxyGoodsAmt=" + proxyGoodsAmt +
                ", goodsAmt=" + goodsAmt +
                ", adminGid=" + adminGid +
                ", adminIsSuper=" + adminIsSuper +
                ", wxOpenId='" + wxOpenId + '\'' +
                ", healthDeptId='" + healthDeptId + '\'' +
                '}';
    }
}
